package dao;

import entity.pet;
import org.springframework.stereotype.Repository;

//@Component("petDao")
@Repository("PetDao")
public class PetDaoMySqlImpl implements PetDao {
   @Override
    public int insert(pet pet) {
        System.out.println("将宠物插入到MySQL数据库");
        return 1;
    }
}
